package com.bw.service;

import com.bw.domain.Channel;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author THINKAPD
* @description 针对表【t_channel】的数据库操作Service
* @createDate 2024-07-08 15:13:50
*/
public interface ChannelService extends IService<Channel> {

    List<Channel> list2();

    boolean save2(Channel channel);

    Channel get(Integer id);

    int publish();

    List<Channel> list3(Channel channel);

    /**
     * 更新mysql的点赞数据
     */
    int updateDBFromRedis();

    void updateCommentNum(Integer channelId);
}
